<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>应用插件执行日志详情</title>
<link href="../../static/plugin/easyui/themes/bootstrap/easyui.css"
	rel="stylesheet" type="text/css" />
<link href="../../static/plugin/easyui/themes/icon.css" rel="stylesheet"
	type="text/css" />
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet"
	type="text/css" />
<script src="../../static/plugin/easyui/jquery.min.js"
	type="text/javascript"></script>
<script src="../../static/plugin/easyui/jquery.easyui.min.js"
	type="text/javascript" charset="utf-8"></script>
<script src="../../static/plugin/easyui/locale/easyui-lang-zh_CN.js"
	type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js"
	type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js"
	type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js"
	type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	<form id="ff" method="post">
		<div class="esaas-info-title">应用插件执行日志信息</div>
		<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">批次流水号：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="batchSn" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">任务编号：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="taskId" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">记录时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="recordTime" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td width="15%" align="right">操作名称：</td>
				<td colspan="3"><input class="easyui-textbox" type="text"
					name="actionName" data-options="disabled:true,multiline:true"
					style="width: 100%; height: 65px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">操作结果：</td>
				<td width="35%"><select class="easyui-combobox"
					id="actionResult" name="actionResult"
					style="width: 100%; height: 25px;" disabled
					data-options="disabled:true,editable:false,valueField:'enname',textField:'cnname',data:BAT_EXEC_RESULT">
				</select></td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td width="15%" align="right">操作详情：</td>
				<td colspan="3"><input class="easyui-textbox" type="text"
					name="actionDetailInfo" data-options="disabled:true,multiline:true"
					style="width: 100%; height: 120px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">应用插件ID：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="pluginId" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">应用插件名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="pluginName" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">任务名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="taskName" data-options="disabled:true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
		</table>
	</form>
	<div style="text-align: center; padding: 15px">
		<a href="javascript:void(0)" class="easyui-linkbutton"
			onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	</div>
	</div>
	<script>
		$(function() {
			var batchSn = $.getUrlParam('batchSn');
			var taskId = $.getUrlParam('taskId');
			var recordTime = $.getUrlParam('recordTime');
			$.restfulGet('../../api/plugin/exec/log/' + batchSn + '/' + taskId
					+ '/' + recordTime, null, function(data) {
				$('#ff').form('load', {
					batchSn : data.rows.batchSn,
					pluginId : data.rows.pluginId,
					pluginName : data.rows.pluginName,
					actionName : data.rows.actionName,
					actionResult : data.rows.actionResult,
					actionDetailInfo : data.rows.actionDetailInfo,
					taskId : data.rows.taskId,
					taskName : data.rows.taskName,
					recordTime : data.rows.recordTime
				});
			});
		});
		function closeForm() {
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
